execute if score game_run system matches 0 run scoreboard players set @a PlayerKill 0
execute if score game_run system matches 0 run scoreboard players set @a KillReward 0

execute if score game_run system matches 1 as @a at @s if score @s PlayerKill matches 1.. unless score @s KillReward matches ..0 run scoreboard players add @s KillReward 1
execute if score game_run system matches 1 as @a at @s if score @s PlayerKill matches 1.. if score @s KillReward matches ..0 run scoreboard players set @s KillReward 1

execute if score game_run system matches 1 as @a at @s if score @s PlayerKill matches 1.. run scoreboard players set @s PlayerKill 0

execute as @a at @s if score @s RewardGet matches 1.. run function vs:system/game_ctrol/player/reward_take